import { ApiProperty } from '@nestjs/swagger';
import { ResponseBodyAllDto, ResponseBodyDto } from 'src/dto';
import { ReturnRoleDto } from './ReturnRoleDto';

export class ReturnRolesPaginationDto extends ResponseBodyDto {
  @ApiProperty({
    type: [ReturnRoleDto],
    required: true,
  })
  data: ReturnRoleDto[];
}

export class ReturnAllRolesDto extends ResponseBodyAllDto {
  @ApiProperty({
    type: [ReturnRoleDto],
    required: true,
  })
  data: ReturnRoleDto[];
}
